package com.swpu.eduStatistics.Client;

import com.swpu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 功能描述：
 *
 * @Author: ygq
 * @Date: 2021/11/2 15:41
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    //查询某一天的注册人数
    @GetMapping("/eduucenter/ucenter/countRegister/{day}")
    public R Count(@PathVariable("day") String day);
}
